<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page session="true"%>
<%
	String myContext = request.getContextPath();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="./css/Design.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="./jquery/jquery.js"></script>
<title>Insert title here</title>
<style>
.twoCol {
	margin: 0px 0px 0px 0px;
}
#aboutinfo {
	margin: 0px 0px 0px 20px;
}
#siteDown{
	margin-left: 20px;
}
</style>

<script type="text/javascript">
	$(document).ready(function() {
		$("#HomepageInfo").click(function() {

			$.ajax({
				type : "POST",
				url : "Whatpm10.main",
				success : function(data) {
					$("#aboutinfo").html(data);
				},
				error : function(request, status, error) {
					alert("불러오기 실패");
				}
			});
		});

		$("#Comeon").click(function() {
			$.ajax({
				type : "POST",
				url : "Comeon.main",
				success : function(data) {
					$("#aboutinfo").html(data);
				},
				error : function(request, status, error) {
					alert("불러오기 실패");
				}
			});
		});
	});
</script>
</head>
<body class="twoCol">
<jsp:include page="../main/upMenu.jsp"/>
	<div id="wrapper">
		<div id="subhead">
			<a href="<%=myContext%>/startHome.main"><img src="./jsp/image/subLogo.gif" /></a>
		</div>

		<div id="submenu">
			<button class="subbutton" id="HomepageInfo">I.Dust</button>
			<button class="subbutton" id="Comeon">찾아오시는길</button>
		</div>

		<div id="submidup"></div>
		<div id="submid">
			<div id="aboutinfo">
				<jsp:include page="Whatpm10.jsp"/>
			</div>
		</div>
		<div id="siteDown"><img src="./jsp/image/footer.gif"></div>
	</div>
</body>
</html>